<template>
<div class="header">
  <div class="local">
    <span><van-icon name="smile-o" /></span>
    <b>武汉光顾广场点</b>
  </div>
  <div class="input">
    <span><van-icon name="search"  size="15px"/></span>
    <input class="search" type="text" placeholder="搜索商品">

  </div>
</div>
</template>

<script>
export default {
  name: "classHeader"
}
</script>

<style scoped lang="scss">
.header{
  position: fixed;
  top: 0;
  height: 60px;
  background-color: #32AAA9;
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  .local{

  }
  .input{
    display: flex;
    align-items: center;
    height: 35px;
    width: 42%;
    border-radius: 20px;
    border: 1px solid #54545C;
  }
  .input span{
    margin-left: 5px;
  }
  .input input{
    margin-left: 10px;
    background-color: #32AAA9;
    border: 0;
    width: 70%;
  }
}

</style>